Opinion: Tab Indent

This may seem silly but I'm struggling. I have set my clever Editor "Crimson" to set the tab indent to be 6 characters; two tabs gets to the same position as 12 spaces. I did this because the DXL Editor uses 6 characters per tab.

However, I see that Notepad used 8 characters per tab. I see code in this forum uses 8-characters per tab:

123456789 123456789 123456789 t        t       t       t       
// each 't' followed by a tab


I'm wondering if I should byte the bullet, convert to 8, and recode my 3-mb of deployed DXL and my 3-mb of under-development DXL. Converting is not so bad as I have over half of it under edit as we speak anyway, and scrolling down and fixing is pretty straight forward as its based on how well things line up.

Is 8 better? Is there something else I should be thinking about?

 

 

  • Louie

 

 


llandale - Mon Sep 19 10:46:23 EDT 2011

Re: Opinion: Tab Indent
rmoskwa - Mon Sep 26 14:03:46 EDT 2011

I can't help you choose a tabstop, but there may be a better solution on the horizon...

http://nickgravgaard.com/elastictabstops/

Russ